﻿namespace Zhaoxi.NET7.ASPNETCoreProject.Utility
{
    public static class StaticPageMiddlewareExtensions
    {
        public static IApplicationBuilder UseStaticPage(this IApplicationBuilder app, string directoryPath, bool supportDelete, bool supportClear)
        {
            return app.UseMiddleware<StaticPageMiddleware>(directoryPath, supportDelete, supportClear);
        }
    }
}
